home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / bbs / defuser3.lha / Defuser.doc < prev    next >
Encoding:
Text File  |  1994-11-29  |  5.4 KB  |  136 lines

  1.              _____        __                       ____   ___  
  2.             |  __ \      / _|                     |___ \ / _ \ 
  3.             | |  | | ___| |_ _   _ ___  ___ _ __    __) | | | |
  4.             | |  | |/ _ \  _| | | / __|/ _ \ '__|  |__ <| | | |
  5.             | |__| |  __/ | | |_| \__ \  __/ |     ___) | |_| |
  6.             |_____/ \___|_|  \__,_|___/\___|_|    |____(_)___/ 
  7.                                                    
  8.      Mail Bomb and Resume Damage protection and repair by Mat Bettinson
  9.                       of the London Xenolink Alliance.
  10.  
  11. New for 3.0:
  12.  
  13. 3.0 operates basically the same way but has PROPER LHA RESUME damage
  14. checking that WORKS. Really! You can also turn it off. have a peek at the
  15. start of the script as you may have to change some bits.
  16.  
  17. I killed the VERBOSE feature below leaving a standard medium level of
  18. logging throughout. The rest of the arguments will be parsed to LHA instead. 
  19.  
  20. IE Rx Defuser %s -b100 
  21.  
  22. Will parse -b100 to LHA etc... 
  23.  
  24. LHA checking is relatively time consuming and may take as long as the
  25. unpacking! Well not THAT bad but it isn't nippy. It'll have to stay that way
  26. until coded in something quicker OR just turn it off by removing the TP =
  27. 'YES' line in the header of the script. 
  28.  
  29. <-----------------------------------CUT----------------------------------->
  30.  
  31. ** New additions to 2.5 indicated by **
  32.  
  33. Bugger it. I can't find the original docs (did I do some?) so I've knocked
  34. up a quick doc and instead of encoding it I'll post as a message.
  35.  
  36. <-----------------------------------CUT----------------------------------->
  37.  
  38. Excuse the quick docs. I'm sure you'll appreciate the urgency. 
  39.  
  40. Defuser 2.0 is basically the same as the earlier version but since it's been
  41. pulling in my mail for the BBS for weeks it seems to be stable and it
  42. catches Mail-Bombs and Trapdoor Abortions when I throw them at it. 
  43.  
  44. How to use: (it's easy)
  45.  
  46. Copy Defuser.rexx to rexx: on your system.
  47.  
  48. Couple of software examples:
  49.  
  50. Spot: Sytem menu. C:LHA x will be there. Actually this simple command will
  51.       be in most software. Simple replace with 'rx Defuser'
  52.  
  53. Most BBS software is the same. Noteable exception is Xenolink:
  54.  
  55. LZH:.LZH ?? ?? 2D 6C 68
  56.    EXTRACT = rx defuser %s
  57.    ARCHIVE = C:LHA -0 -m -N -q a
  58.  
  59. LHA:.LHA ?? ?? 2D 6C 68
  60.    EXTRACT = rx defuser %s
  61.    ARCHIVE = C:LHA -2 -m -N -q a
  62.  
  63. In Xconfig:Archivers.config
  64.  
  65. Likewise in any other software just replaces the LHA x with 'rx Defuser'
  66.  
  67. There's also a bit that you can edit in the Arexx program itself:
  68.  
  69. */
  70. EXEdir = 'C:'
  71. MaxSize = 75000
  72. MaxArc = 3000000
  73. Logfile = 'MAIL:Defuser.log'
  74. BadPKT = 'XIN:BAD/'
  75. LHAOpt = 'x -q'
  76. BBSTemp = ''
  77. CheckResume = 'YES'
  78.  
  79. /*
  80.  
  81. ** New for 2.5: There is now a BBStemp line here. If your BBS software uses
  82. ** temp files you can place the name there. If nulled (as default) ALL files
  83. ** assumed to be mail packets. This will cause no harm but will fill your
  84. ** inbound with crap files where defuser guessed wrong.
  85.  
  86. ## New for 3.0 the CheckResume line. Enables or disables this function.
  87. ## With it OFF you'll not notice Defuser at all and be given mail bomb
  88. ## protection. With it ON the time can be noticable on large packets but
  89. ## you WILL NOT lose mail from Resume-Append damaged packets.
  90.  
  91. EXEdir is the place where your LHA, Copy, Delete etc live. 
  92. MaxSize is the maximum size of the INDIVIDUAL packets in your mail packet.
  93.         this may need to be raised to a very high value if your Boss sends
  94.         packets over 64K. 
  95. MaxArc is the largest size of the extracted mail archive. Just make a large 
  96.        value but well under the space free on your inbound.
  97. Logfile is the full path and filename of the Defuser log where it will 
  98.         report all actions to since a console is hardly ever available.
  99. BadPKT is the dir to sling suspect packets that file for closer inspection
  100.        and/or deletion by yourself. Needs ':' or '/' at the end.
  101. LHAOpt is the LHA options you would normally use to extract. The q switch
  102.        in this case makes it quiet and the x switch is your extract command.
  103.  
  104. Right... The actual TRAP PRONG section of the code doesn't need any
  105. configuring... Defuser will log it's actions to the log file and it will
  106. strip the appended file/files off and save as the same packet name only with
  107. a bumped extention IE TH0 becomes TH1 etc... It WILL check to see if it
  108. exists before doing so in which case it will pick a higher extention and so
  109. on. :-) No pissy coding here! :-) 
  110.  
  111. OK so it will extract the FIRST file obviously but it WILL NOT extract the
  112. remaining files. This is so it's logged in your BBS software and lazyness
  113. (!) and security and it works! :-) You just have to perform another import
  114. to catch the file again. If it STILL isn't a single file Defuser will again
  115. strip the remainer off save it out and extract the first bit and so on... 
  116.  
  117. All actions will be logged in the log file as usual.
  118.  
  119. OK that's it. 
  120.  
  121. Fiver in the post for saving your mail eh? :-) 
  122.  
  123. BTW I've tried to E-Mail those Bugger Trapdoor Authors but their host has
  124. mysteriously vanished according to Demon. :-/ I'll send a Net-Mail and if
  125. anyone wants to post Defuser in a News group etc then go right ahead. I'm
  126. not going to as those Internet types hardly ever bother with Fido. :-|
  127.  
  128. Stay safe and may the mail flow.
  129.  
  130. Mat Bettinson:  Fidonet 2:254/205  Amiganet 39:139/5 
  131.                 E-Mail mat@darkside.demon.co.uk
  132.      _ ___
  133. /\/\(-) |  Sysop of Creations, plot hatcher and general Aussie Nuisance.  
  134.  
  135. ... This Tagline is a figment of your intelligence
  136.